<?php

namespace App\Requests;

use App\Requests\LastIdRequest;
use Framework\BaseRequest;

/**
 * @method phone
 * @method key
 * @method code
 * @mixin LastIdRequest
 */
class AppSendSmsRequest extends BaseRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules()
    {
        return [
            'phone' => 'required',
            'key' => 'required',
            'code' => 'required',
        ];
    }
}
